﻿@model SDE_FIC.Models.Turma

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout_Sistema.cshtml";
}

<h2>Delete</h2>

<h3>Você tem certeza de que deseja APAGAR essa turma?</h3>
@using (Html.BeginForm()) {
<fieldset>
        <legend></legend>
    <div class="display-field">
        @Html.HiddenFor(model => model.Idturma)
    </div>
    
    <table style="width:700px;">

        <tr>
            <td style="vertical-align:top;">
        <div class="editor-label">
            <b>Descrição</b>
        </div>
        <div class="editor-field">
            @Html.DisplayFor(model => model.Descricao)
            
        </div>

        <div class="editor-label"><br />
            
            <b>Horário</b>
        </div>
        <div class="editor-field">
            @Html.DisplayFor(model => model.Horario)

        </div>

        <div class="editor-label"><br />
            <b>Início Previsto</b>
        </div>
        <div class="editor-field">
            @Html.DisplayFor(model => model.DataInicio)

        </div>

        <div class="editor-label"><br />
            <b>Término Previsto</b>
        </div>
        <div class="editor-field">
            @Html.DisplayFor(model => model.DataFim)

        </div>
                </td>
                <td style="vertical-align:top;">
        <div class="editor-label"><br />
            <b>Situação</b>
        </div>
        <div class="editor-field">Ativo
            @Html.DisplayFor(model => model.Status)

        </div>
                    <br />
        <div class="editor-label"><br />
            <b>Professor</b>
        </div>
        <div class="editor-field">
            @Html.DisplayFor(model => model.Funcionario.NomeCompleto)
        </div>

        <div class="editor-label"><br />
            <b>Curso</b>
        </div>
        <div class="editor-field">
            @Html.DisplayFor(model => model.Curso.CursoNome)
        </div>
        </td>
        <td style="vertical-align:top;">
            <table style="width:120px;">
                <tr>
                    <td colspan="2"><b>Dias da Semana</b></td><br />
                </tr>
                <tr>
                    <td style="text-align:center;">
                        <b>Seg</b>
                    </td>
                    <td>
                        @Html.DisplayFor(model => model.Segunda)
                        
                    </td>
                </tr>
                <tr>
                    <td style="text-align:center;"><br />
                        <b>Ter</b>
                    </td>
                    <td>
                        @Html.DisplayFor(model => model.Terca)
                        
                    </td>
                </tr>
                <tr>
                    <td style="text-align:center;"><br />
                        <b>Qua</b>
                    </td>
                    <td>
                        @Html.DisplayFor(model => model.Quarta)
                        
                    </td>
                </tr>
                <tr>
                    <td style="text-align:center;"><br />
                        <b>Qui</b>
                    </td>
                    <td>
                        @Html.DisplayFor(model => model.Quinta)
                        
                    </td>
                </tr>
                <tr>
                    <td style="text-align:center;"><br />
                        <b>Sex</b>
                    </td>
                    <td>
                        @Html.DisplayFor(model => model.Sexta)
                        
                    </td>
                </tr>
                <tr>
                    <td style="text-align:center;"><br />
                        <b>Sáb</b>
                    </td>
                    <td>
                        @Html.DisplayFor(model => model.Sabado)
                        
                    </td>
                </tr>
                   <tr>
                    <td style="text-align:center;"><br />
                        <b>Dom</b>
                    </td>
                    <td>
                        @Html.DisplayFor(model => model.Domingo)
                        
                    </td>
                </tr>
            </table>
            <br />
            <br />

         </td>
        </tr>
     </table>
    <br />
</fieldset>

    <p>
        <input type="submit" class="btn btn-danger" value="Delete" /> |
        @Html.ActionLink("Valor de Listagem", "Index")
    </p>
}
